package com.student.xujiang.mysmalluse.companylogin.model;

/**
 * Created by xujiang on 2017/3/22.
 */

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * http://blog.csdn.net/sdyy321/article/details/40298081
 * 注解详解
 *
 * */
@JsonIgnoreProperties(ignoreUnknown = true)
public class AccessToken {

    private                               String tk;
    private                               String id;
    private                               String modules_min_support;
    private                               long   login_time_expired;
    @JsonProperty("headPortrait") private String userPortrait;
    @JsonProperty("nickName") private     String userNickName;
    @JsonProperty("signature") private    String userSignature;

    public String getTk() {
        return tk;
    }

    public void setTk(String tk) {
        this.tk = tk;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getModules_min_support() {
        return modules_min_support;
    }

    public void setModules_min_support(String modules_min_support) {
        this.modules_min_support = modules_min_support;
    }

    public long getLogin_time_expired() {
        return login_time_expired;
    }

    public void setLogin_time_expired(long login_time_expired) {
        this.login_time_expired = login_time_expired;
    }

    public String getUserPortrait() {
        return userPortrait;
    }

    public void setUserPortrait(String userPortrait) {
        this.userPortrait = userPortrait;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public String getUserSignature() {
        return userSignature;
    }

    public void setUserSignature(String userSignature) {
        this.userSignature = userSignature;
    }

    @Override
    public String toString() {
        return "AccessToken{" +
                "tk='" + tk + '\'' +
                ", id='" + id + '\'' +
                ", modules_min_support='" + modules_min_support + '\'' +
                ", login_time_expired=" + login_time_expired +
                ", userPortrait='" + userPortrait + '\'' +
                ", userNickName='" + userNickName + '\'' +
                ", userSignature='" + userSignature + '\'' +
                '}';
    }
}
